﻿using B.S.Packaged.ErrorCode;
using MediatR;

namespace B.S.Packaged.WebAPI.Write.Applications.Commands.MaterialPreparation
{
    public class UpdateMaterialPreparationCommand : IRequest<APIResult<int>>
    {
        /// <summary>
        /// 物料名称
        /// </summary>
        public string ItemName { get; set; }
        /// <summary>
        /// 物料规格
        /// </summary>
        public string Itemspecification { get; set; }
        /// <summary>
        /// 物料类型
        /// </summary>
        public string ItemType { get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        public string LotNumber { get; set; }
        /// <summary>
        /// 生产日期
        /// </summary>
        public DateTime ManufactureDate { get; set; }
        /// <summary>
        /// 有效期
        /// </summary>
        public DateTime ExpirationDate { get; set; }
        /// <summary>
        /// 计划备料数量
        /// </summary>
        public int PlannedQuantity { get; set; }
        /// <summary>
        /// 实际备料数量
        /// </summary>
        public int ActualQuantity { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 计划主键
        /// </summary>
        public int PackagingPlanId { get; set; }
    }
}
